package com.niuwa.p2p.service.impl.guarantee;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.niuwa.p2p.dao.guarantee.GuaranteeUnitDao;
import com.niuwa.p2p.entity.productTemplate.GuaranteeUnit;
import com.niuwa.p2p.service.guarantee.IGuaranteeUnitService;

@Service
public class GuaranteeUnitServiceImpl implements IGuaranteeUnitService {
	
	@Autowired
	private GuaranteeUnitDao gud;
	
	@Override
	public List<GuaranteeUnit> searchAll() {
		return gud.searchAll();
	}

}
